How about a motorized bread/turkey carving knife on one side, modified to attach a section of band saw blade the length you need, with a springy support for the band saw blade on the other end? A turkey carving knife cuts soft cushion foam easily if there is a little weight on top to slow down the shaking.
CarveOne